<div class="recommended">
    <h4 class="ellipsis"><?= $title ?></h4>

    <? $cnt = count($objects); ?>
    <? for ($i = 0; $i < $cnt; $i++): ?>
            <? if ($i == 4) break; ?>
            <?
            $obj_name = URLify::filter($objects[$i]->object_name);
            $href = lang_url('accommodation/' . $obj_name . '-' . $objects[$i]->object_ID . '?preview=1&room_id=' . $objects[$i]->lowest_price_room_id);
            $thumbnail = HOST_URL_HOTELS . 'gallery/' . $objects[$i]->photo_path . '/thumb_130x130/' . $objects[$i]->photo_name;
            ?>
            <a class="clearfix" href="<?= $href ?>">

                <img src="<?= $thumbnail ?>" alt="<?= $objects[$i]->object_name ?>" width="90">
                <div>

                    <h4 class="ellipsis"><?= $objects[$i]->object_name ?></h4>
                    <div class="stars small star_<?= $objects[$i]->object_number_of_stars ?>"></div>
                    <div class="price"><?= lang('from'); ?> <span class="big">  € <?= round($objects[$i]->lowest_price) ?></span></div>
                </div>
            </a>
        <? endfor; ?>
</div>